Skip to content

feat(realtime): add Lumina vector index support - #583

Merged
lucasfang merged 7 commits into
apache:mainfrom
lxy-9602:lumina-rt
Nov 23, 2026
Merged

lucasfang merged 7 commits into
apache:mainfrom
lxy-9602:lumina-rt

Conversation

@lxy-9602

@lxy-9602 lxy-9602 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Purpose

Linked issue: #158
Enable Lumina vector search over uncommitted data in append and append deduplicate modes.

  • Register the Lumina real-time index plugin with per-column configuration for bruteforce and flatnsw.
  • Apply scalar filters and committed or pending deletion vectors before source-local TopK.
  • Allocate search scratch memory from the query pool and track retained index memory separately.
  • Preserve the existing read-and-write commit path, with a TODO for exporting memory indexes using offset-to-row-ID remapping.

Tests

  • Add unit coverage for configuration, input validation, offset bounds, pre-filtering, memory accounting, reader lifetime, and concurrent reads and writes.
  • Add integration coverage using real Lumina indexes with indexed and unindexed scalar predicates across memory, disk, deletion vectors, and commit transitions.

API and Format

  • Breaking API change: add a required query MemoryPool parameter to RealtimeIndex::CreateReader() and RealtimeIndexReadSource::CreateIndexReaders(). Callers and custom implementations must be updated.

Documentation

Document real-time Lumina configuration, query setup, and limitations in realtime.rst.

Generative AI tooling

Generated-by: OpenAI Codex

@lxy-9602
lxy-9602 marked this pull request as draft November 19, 2026 07:27
@lxy-9602 lxy-9602 changed the title feat(realtime)!: add Lumina vector index support feat(realtime): add Lumina vector index support Nov 19, 2026
@lxy-9602
lxy-9602 marked this pull request as ready for review November 19, 2026 08:18
Comment thread docs/source/user_guide/realtime.rst Resolved

@zjw1111 zjw1111 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@lucasfang lucasfang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@lucasfang
lucasfang merged commit b822f1c into apache:main Nov 23, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants